JSONRPCRequest

@Serializable
data class JSONRPCRequest(    val id: RequestId = REQUEST_MESSAGE_ID.incrementAndGet(),     val method: String,     val params: JsonElement? = null,     val jsonrpc: String = JSONRPC_VERSION) : JSONRPCMessage(source)

A request that expects a response.

Constructors

Link copied to clipboard
constructor(    id: RequestId = REQUEST_MESSAGE_ID.incrementAndGet(),     method: String,     params: JsonElement? = null,     jsonrpc: String = JSONRPC_VERSION)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val params: JsonElement? = null

Functions

Link copied to clipboard

Decodes a JSON-RPC request into a protocol-specific Request.